package com.es.message;

import java.util.ArrayList;

import javax.servlet.http.HttpServletRequest;

import com.es.pay.mailAndMsg.HrmCtmBean;
import com.opensymphony.webwork.interceptor.ServletRequestAware;
import com.opensymphony.xwork.ActionSupport;

public class NoticeSendAction  extends ActionSupport implements ServletRequestAware{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	HttpServletRequest request;
	 
   public String execute()throws Exception{
	   
	   MessageBiz  manegeBiz= new MessageBiz();
	   ArrayList<HrmCtmBean> bean  = manegeBiz.getMenuAllList();
	   request.setAttribute("bean", bean);
	   return "success";
   }

   public void setServletRequest(HttpServletRequest request) {
	     this.request = request;
  }
}